#include <stdlib.h>
#include <iostream>
#include <fstream>
#include <string>
#include <vector>

#include "defines.h"

using namespace std;

struct player{
  std::string name;
  class_t player_class;
  spec_t mainSpec;
  spec_t offSpec;
  int offSpecPenalty;
  bool locked;
};

int main(int argc, char* argv[]) { 
    // If the user didn't provide a filename command line argument,
    // print an error and exit.
    if (argc <= 1){
        cout << "Usage: " << argv[0] << " <Filename>" << endl;
        exit(1);
    }
    char *pFilename = argv[1];
	ifstream myFile (pFilename);
	string line;
	vector<string> lines ;
	if(myFile.is_open()){
		while(myFile.good()){
		   while( getline( myFile, line ) ) lines.push_back( line ) ;
		   cout << "#lines: " << lines.size() << '\n' ;
		}
		myFile.close();
	}	
}